<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

//Route::get('/', function () {return view('welcome');});
Route::get("/index/captcha",'CodeController@captcha');//验证码路由

Route::get('/','Home\LoginController@index'); //后台登录路由
Route::post('/sign','Home\LoginController@sign'); //登录验证路由
